package com.redoor.iot.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.redoor.iot.model.RoleMenuRela;

@Mapper
public interface RoleMenuRelaMapper {
	
	int removeByRoleId(Long roleId);
	
	int batchSave(List<RoleMenuRela> list);
	
	//
    int deleteByPrimaryKey(Integer id);

    int insert(RoleMenuRela record);

    int insertSelective(RoleMenuRela record);

    RoleMenuRela selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleMenuRela record);

    int updateByPrimaryKey(RoleMenuRela record);
}